<?php if(count($data)>0): ?>
<?php foreach ($data as $key => $item):
		$url = Yii::app()->controller->createUrlArticle($item['id']);
?>
<div class="news-item">
	<div class="title"><a href="<?php echo $url;?>"><?php echo $item['title']?></a></div>
	<div class="intro">
		<img class="thumb" src="<?php echo CommonHelper::getImageThumbNews($item['images']);?>" />
		<div class="it-text">
			<?php echo $item['introtext'];?>
		</div>
		<div class="readmore"><a href="<?php echo Yii::app()->controller->createUrlArticle($item['id']);?>">Chi tiết</a></div>
	</div>
</div>
<?php endforeach;?>
<?php endif?>